<?php
/* --------------------------------------------------------------
   gm_graduated_prices.php 2008-08-10 gambio
   Gambio OHG
   http://www.gambio.de
   Copyright (c) 2008 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------


   based on: 
   (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
   (c) 2002-2003 osCommercebased on original files from OSCommerce CVS 2.2 2002/08/28 02:14:35 www.oscommerce.com
   (c) 2003	 nextcommerce (graduated_prices.php,v 1.11 2003/08/17); www.nextcommerce.org
   (c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: graduated_prices.php 1243 2005-09-25 09:33:02Z mz $)

   Released under the GNU General Public License
   ---------------------------------------------------------------------------------------*/

if(defined('_GM_VALID_CALL') === false) die('x0');

$gm_graduated_smarty = new Smarty;
$gm_graduated_smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/');

$staffel_data = $product->getGraduated();

//BOF GM_MOD:
$module = '';

if (sizeof($staffel_data) > 1) {
	$gm_graduated_smarty->assign('language', $_SESSION['language']);
	$gm_graduated_smarty->assign('module_content', $staffel_data);
	// set cache ID

	$gm_graduated_smarty->caching = 0;
	$module = $gm_graduated_smarty->fetch(CURRENT_TEMPLATE.'/module/gm_graduated_price.html');
}
?>